package com.syni.mdd.yhd.common.all.service.activity;

import com.syni.mdd.yhd.common.all.dao.jpa.activity.BmsMealPrizeRecordDao;
import com.syni.mdd.yhd.common.all.entity.activity.BmsMealPrize;
import com.syni.mdd.yhd.common.all.entity.activity.BmsMealPrizeRecord;

import java.util.List;

/**
 * @className  BmsBusinessCouponService
 * @description TOO
 * @Author hwq
 * @DATE 2019/9/23 10:32
 * @VERSION 1.0
 **/
public interface BmsMealPrizeRecordService {


    BmsMealPrizeRecordDao getBaseDao();

    BmsMealPrizeRecord findRecordByPrize(Integer id);

    List<BmsMealPrizeRecord> findUserGetCoupon(Integer userId,Integer type);

    void addUserPrizeRecord(Integer userId, BmsMealPrize bmsMealPrize);
}
